package com.csun.dsms.model.domain;

import com.csun.dsms.comment.core.mybatis.BaseEntity;
import lombok.Data;

import java.util.Date;
import javax.persistence.*;
@Data
@Table(name = "dsms_poor_change")
public class DsmsPoorChange extends BaseEntity {

    /**
     * 特困人员id
     */
    @Column(name = "poor_id")
    private Long poorId;

    /**
     * 特困人员
     */
    @Column(name = "poor_name")
    private String poorName;

    /**
     * 0-居住地变动 1-迁出区外 2-死亡
     */
    private Integer status;

    /**
     * 变动时间
     */
    @Column(name = "change_time")
    private String changeTime;

    /**
     * 特困人员照片
     */
    @Column(name = "poor_pic")
    private String poorPic;

    /**
     * 单位id
     */
    @Column(name = "unit_id")
    private Long unitId;

    /**
     * 单位名称
     */
    @Column(name = "unit_name")
    private String unitName;

    /**
     * 特困人员经纬度
     */
    @Column(name = "poor_adress_gps")
    private String poorAdressGps;

    @Column(name = "id_card")
    private String idCard;

    @Column(name = "approval_status")
    private Integer approvalStatus;

    private String location;

    private String remark;

}